package com.gpl.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 故障对象 break
 * 
 * @author luna
 * @date 2023-05-24
 */
public class Break extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 故障id */
    private Long bid;

    /** 故障名称 */
    @Excel(name = "故障名称")
    private String bname;

    public void setBid(Long bid) 
    {
        this.bid = bid;
    }

    public Long getBid() 
    {
        return bid;
    }
    public void setBname(String bname) 
    {
        this.bname = bname;
    }

    public String getBname() 
    {
        return bname;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bid", getBid())
            .append("bname", getBname())
            .toString();
    }
}
